Data Adapters

Data adapters specify the type of data used within a dashboard. Once the data adapter is configured and pointing to the appropriate data, attach it to a component to display it on a dashboard.

To manage data adapters, go to Application > Presentation > Workspaces. Select a Workspace and maintenance unit and then select Data Adapters.

The data adapter provides General (Data Adapter), Processing, and Data Source sections for configuration. Depending on the selected Data Source Command Type, additional options may be displayed.

Create a Data Adapter

  1. Select the Create Data Adapter The Create Data Adapter icon is a blue and black cylindericon.

  2. In the General and Processing sections, enter the required data.

  3. In the Data Source section, from the  Command Type drop-down menu, select Cube View, Cube View MD, Method, SQL, or BI-Blend.

    The Command Type drop-down menu is expanded to display the Cube View, Cube View MD, Method, SQL, and BI-Blend options.

  4. To configure the Data Adapter, see Command Types

Command Types

These Command Types are available:

Cube View Command Type

To use a Cube View as the data adapter source to return a Reporting Table, from the Command Type drop-down menu, select Cube View.

NOTE: To return a multi-dimensional fact table, use the Cube View MD command type.

Additional options can be selected here to include supplemental information for the resulting table.

NOTE: Adding information that is beyond the default options may have a slight impact on performance:

Cube View

This command type enables a preconfigured Cube View to be the data source for a dashboard. To select a Cube View, select the ellipsis Ellipses in a grey box and use the Object Lookup dialog box.

Data Table Per Cube View Row

This property defaults to True. When set to True, a Data Table is created for each row in the dashboard. This enables conditional formatting per Cube View row. When set to False, the rows are merged into one table. This omits any undefined Cube View row.

Include Title

This property defaults to False. When set to True, the title will be displayed from the Report section of the Cube View as the title for the dashboard.

Include Header Left Label 1-4

This property defaults to False. When set to True, the left header labels will be displayed from the report section of the Cube View for the dashboard.

Include Header Center Label 1-4

At the creation of the data adapter, the default is set to False. When set to True, the center header labels will be displayed from the report section of the Cube View for the dashboard.

Include Header Right Label 1-4

This property defaults to False. When set to True, the right header labels will be displayed from the report section of the Cube View for the dashboard.

Include...POV

When set to True, the POV information for the cube, entity, and all other dimensions are included. Use these if the report or dashboard needs this information.

Include Member Details

When set to True, additional Member property details are included in the results.

Include Row Navigation Link

When set to True, this data adapter includes a row navigation link from a Cube View.

Include HasData Status

Includes additional true/false data on whether the row of results contains data for filtering purposes.

Include...View Member Text

This determines whether different Data Attachment text is going to be part of the results. This is necessary for showing text in a Data Explorer object or for using a waterfall chart and wanting to optionally show comments.

Results Table Name

This specifies the name of the resulting table generated when the data adapter is run. Otherwise, it defaults to the name Table.

Cube View MD (Multi-Dimensional) Command Type

To use a Cube View as the data adapter source to return a Multi-Dimensional Fact Table, from the Command Type drop-down menu, select Cube View MD. The results of the Cube View MD are dimensions (Entity, Consolidation, Scenario, Time, View, Account, Flow, Origin, Intercompany (IC), UD1-UD8) as columns. This simplifies the report building process in the BI Designer, Pivot Grid, and dashboard development.

Loop parameter options are available and can be selected to include incremental information from the modified Cube View definition in the resulting table.

NOTE: To return a reporting table, use the Cube View command type.

Additional options can be selected here to include supplemental information for the resulting tables.

NOTE: Adding information that is beyond the default options may have a slight impact on performance.

Data Source

Cube View

This command type enables a pre-configured Cube View to be the data source for a dashboard. To select a Cube View, select the ellipsis Ellipses in a grey box and use the Object Lookup dialog box.

Results Table Name

The name of the table that is generated when the data adapter runs. The default name is Table. Enter a name that can be used to identify the content of the table and the associated data adapter.

Example: The data adapter name is OperatingExpenses_CVMD. The Results Table Name is tbl_OperatingExpenses to identify the table and the data adapter associated with the table.

Miscellaneous

Add Start End Calendar Time

When set to True, the Data Table incorporates the Start and End Dates used in the POV/Time Profile for the Cube View and creates additional columns in a Date/Time Field Type Format: StartDate, EndDate for each row in the dashboard. This enables you to use the Date Grouping functions in the BI Designer. When set to False, these Date Time fields are not added or displayed.

Header Text

Entity

Controls the display of the entity name and description in the results table from the Cube View. The default value is Name and Description.

Consolidation

Controls the display of the consolidation name and description in the results table from the Cube View. The default value is Name and Description.

Scenario

Controls the display of scenario name and description in the results table from the Cube View. The default value is Name and Description.

Time

Controls the display of the time name and description in the results table from the Cube View. The default value is Name and Description.

View

Controls the display of the view name and description in the results table from the Cube View. The default value is Name and Description.

Account

Controls the display of the account name and description in the results table from the Cube View. The default value is Name and Description.

Flow

Controls the display of the flow name and description in the results table from the Cube View. The default value is Name and Description.

Origin

Controls the display of the origin name and description in the results table from the Cube View. The default value is Name and Description.

IC

Controls the display of the IC name and description in the results table from the Cube View. The default value is Name and Description.

UD1-UD8

Controls the display of the UD1-UD8 name and description in the results table from the Cube View. The default value is Name and Description.

Loop Parameters

These properties enable you to make changes to the output of a Cube View definition being used in a table for reporting. The Loop parameter filters the results and considers the additional parameters to be passed to the Cube View definition and adds those results to the table accordingly.

The parameters override the POV. So, if the entity POV is set to CT, and the loop parameter filters are set to NY, MA, and NJ, then data for those is returned not CT. A Loop must be used to change parameters.

Example: A Loop parameter may be used to loop through a list of entities in the Cube View definition and return multiple entities for that specific Cube View. The dimension type and Member Filters should be added here to pass along the appropriate Loop, for example, Dimension Type=Entity, Member Filter= E#US.Base, which applies to each entity included in the Loop.

NOTE: It is recommended to not loop any dimensions that already exist in the Cube View rows or columns.

The default value for both dimension type properties is (Not Used), and the Member Filter properties are not available by default. This configuration displays the results without any consideration of additional parameters to pass to the query. When the Dimension Types are set along with the Member Filters, the results will consider the additional parameters to be passed to the Cube View definition and will add those results to the table accordingly.

Dimension Type 1 and 2

The dimension type containing the list of members, for example, entity or account.

Member Filter 1 and 2

Enter a Member Filter to determine what is seen in the parameter. Select the ellipsis Ellipses in a grey box to display the Member Script Builder dialog box. Enter a member script to change the Cube View definition.

Example: This example changes the POV for the Products: UD2; U2#Top.Base

Dimension Leveling

The Dimension To Level property setting displays dimensional data as a hierarchical tree in the BI Viewer. Dimension leveling enables you to display data in a hierarchical structure so that you can drill down to view child data. After the data is leveled, you can use the BI Viewer to view data as a tree, a pivot table, a chart, or a grid. You can choose from the following options:

  • Outermost Row: The hierarchy uses the first row and first level (of row) definition.
  • Outermost Column: The hierarchy uses the first column and first level (of column) definition.
  • Both: The hierarchy uses the first row and first level definition and uses the first column and first level (of column) definition.

When the data adapter is run, the Data Table generates the additional columns for the levels including columns to determine the status of the level.

Example: RowMemberIsBase = 1: Row Member contains the Base level of data RowMemberIsBase = 0: Row Member is not the Base level of data  ColumnMemberIsBase= 1: Column Member contains the Base level of data  ColumnMemberIsBase= 0: Column Member is not the Base level of data.

To test the data adapter, select the Test Data Adapter The Open Data Explorer icon nis a black cylinder with a blue arrow icon. The Data Preview window displays the table data. Each dimension leveled column is prefixed with an E to indicate it is an Entity, followed by a level number. A RowMemberIsBase value of 1 indicates that there is no remaining child data.

Each dimension leveled column is prefixed with an E to indicate it is an Entity, followed by a level number

Cube View MD Data Adapter Example

Cube View MD Data Adapter Example displays data adapter properties

The Results Table from the Cube View MD data adapter example presented.

The Results Table from the Cube View MD Data Adapter

View Results in the BI Viewer

With dimension leveling, you can view data in an easy-to-understand, hierarchical format. With the BI Viewer, you can design various dashboard items in which to view the dimension leveled data. For example, you can configure the BI Viewer to display data in pivot tables and charts at the same time.

To configure the BI Viewer, complete the following steps:

  1. Create a BI Viewer component:
    1. In the navigation tree, select Components and select the Create Dashboard Component The dashboard component icon is a box with blue squares, flat design style. icon.
    2. In the Create Dashboard Component dialog box, select BI Viewer and then select the OK button.
    3. On the Component Properties tab, in the Name field, enter the name of the component.
    4. Select the Data Adapters tab and select the Add Dashboard Component The Add Dashborad Component icon is a black plus sign icon.
    5. In the Add Data Adapter dialog box, select the appropriate data adapter and then select the OK button.
    6. Select the Save Save icon icon.
  2. Design the BI Viewer dashboard:
    1. Select the BI Designer tab at the top of the window.
    2. From the Data Source drop-down menu, select the data source from which to pull data. This is usually a table.
    3. Drag each dimension level to view from the Table view into the DATA ITEMS column under Dimensions.

      The BI Viewer Designer shows the Data Source drop-down menu set to table and a dimension highlighted to be dragged to Data Items

    4. To filter items based on whether they are base items, drag the RowNumberIsBase item into the DATA ITEMS column under HIDDEN DATA ITEMS. This item will not display in the resulting dashboard but will be available for you to filter on if necessary.

      The Data tab is outlined and the Filter Editor field shows And RowMemberIsBase = 1 and in the pane below it shows RowMemberIsBase = 1 in square brackets

    5. From the BI Designer ribbon, select the type of dashboard item to view in the dashboard. For example, select Filter Element > Tree View. In the resulting tree view, notice that you can expand parent members down to their base child members.

      If you add a Grid, all levels of the parent entity display in their own columns. To see a pivot table, select Pivot from the ribbon and notice that each level is expandable similar to tree view.

      A pivot table displays in the view

Method Command Type

To use a Method as the Data Adapter source to return a table, from the Command Type drop-down menu, select Method. From the Method Type drop-down menu, select a method type.

TIP: To view an example Method Query, leave the Method Query field blank, select the Save Save icon icon, and then select the Test Data Adapter The Open Data Explorer icon nis a black cylinder with a blue arrow icon. 

Method Types

BusinessRule

Use the business rule method when creating a custom rule to incorporate within a Method Query. The business rule is used as the first set of braces within the Method Query.

Copy
{XFR_DataUnitCompare}{DataUnitComparisonDataSet}{Cube1=|!Members_Cubes!|, Entity1=|!Members_Entities_AllDims_Base!|, 
Parent1=[], Cons1=|!Members_Cons_Statutory!|,Scenario1=|!Members_Scenarios_AllDims_Base!|, Time1=|!Members_Time_WFYear_
Base!|, Cube2=|!Members_Cubes!|, Entity2=|!Members_Entities_AllDims_Base!|, 
Parent2=[], Cons2=|!Members_Cons_Statutory!|, Scenario2=|!Members_Scenarios_
AllDims_Base_Var!|, Time2=|!Members_Time_WFYear_Base!|, View=
|!Members_View_Numeric!|, SuppressMatches=|!DataUnit_SuppressMatches!|}
Copy
{MyBusinessRuleName}{MyDataSetName}{Name1=Value1, Name2=[Value2]}
CertificationforWorkflowUnit

The CertificationforWorkflowUnit method lists all Certification Questions for the particular Workflow Unit. Parameters should include each value enclosed in braces.

Copy
{MyWorkflowProfileName}{Actual}{2015M1}{true}{Empty String or Filter Expression}
Copy
{Dallas}{Actual}{2011M2}{true}{}
ConfirmationforWorkflowUnit

The ConfirmationforWorkflowUnit method lists the Confirmation Rules results for a particular Workflow Unit. Parameters should include each value enclosed in braces.

Copy
{MyWorkflowProfileName}{Actual}{2015M1}{true}{Empty String or Filter Expression}
Copy
{Montreal}{Actual}{2011M6}{true}{}
DataUnit

The DataUnit method returns all rows of data related to the specified Data Unit, for example, Cube, Entity, Parent, Consolidation Member, Scenario, Time, and View. Parameters should include each value enclosed in braces.

Copy
{Cube}{Entity}{Parent}{Cons}{Scenario}{Time}{View}{True}{Empty String or Filter Expression}
DataUnitComparison

This returns all rows from two different Data Units specified for comparison purposes. Parameters should include each value enclosed in braces.

Copy
{Cube1}{Entity1}{Parent1}{Cons1}{Scenario1}{Time1}{Cube2}{Entity2}{Parent2}{Cons2}{Scenario2}{Time2}{View}{True}{True}{Empty String or Filter Expression}
ExcelFile

The ExcelFile method returns data sourced from an Excel file. Parameters should include each value enclosed in braces.

Copy
{Application}{Documents/Public/MyExcelfile.xfDoc.xlsx}{Sheet1 or Empty}
{MyDataRange or Empty}{False}{False}{}
FormsStatusForWorkflowUnit

The FormsStatusForWorkflowUnit method lists detailed information about the Forms for a particular Workflow Unit. Parameters should include each value enclosed in braces.

Copy
{Houston}{Actual}{2011M1}{All}{}
Copy
{MyWorkflowProfileName}{Actual}{2015M1}{All}{Empty String or Filter Expression}
Groups

The Groups method returns the Group ID, Name, Description, and whether this is an Exclusion Group. Parameters should include each value enclosed in braces.

Copy
{GroupName = 'FinanceGroup'}
GroupsforUsers

The GroupsforUsers method returns the Select User properties and Groups. This returns the same group properties as the Group Method Query. Parameters should include each value enclosed in braces.

Copy
{UserName = 'Administrator'}{}
ICMatchingforWorkflowUnit

The ICMatchingforWorkflowUnit method returns a detailed Intercompany Matching Report table for the given Workflow Unit and several other Parameters. The Parameters override what is set up in the Workflow Profile. Parameters should include each value enclosed in braces.

Copy
{Workflow Profile Name}{Scenario Name}{Time Name}{Plug Account Override}{
Suppress Matches Override}{Tolerance Override}{Filter}
Copy
{Flint}{Actual}{2011M1}{Empty String or A#MyPlugAccount}{Empty String or
true/false}{Empty String or 0.0}{Empty String or Filter Expression}.
Copy
{MyWorkflowProfileName}{Actual}{2015M1}{PlugAccount for Workflow Parameter Set (Exclude A#)}{Empty String or C#MyCurrencyOverride}{Empty String or V#MyViewOverride}{Empty String or A#MyPlugAccountOverride}{Empty String or true/false}{Empty String or 0.0}{Empty String or E#MyEntityOverride}{Empty String or E#MyPartnerOverride}{Empty String or MyDetailDimsOverride (F#All:O#Top:U1#All:U2#All:U3#All:U4#All:U5#All:U6#All:U7#All:U8#All)}{Empty String or Filter Expression}
ICMatchingPlugAccountsforWorkflowUnit

The ICMatchingPlugAccountsforWorkflowUnit method returns the list of Intercompany Plug Accounts for a given Workflow Profile and Scenario Type configured for the Workflow Profile. Parameters should include each value enclosed in braces.

Copy
{MyWorkflowProfileName}{Actual}{2015M1}
JournalforWorkflowUnit

The JournalforWorkflowUnit method lists the Journals entered for a given Workflow Unit. Parameters should include each value enclosed in braces.

Copy
{Frankfurt}{Actual}{2011M3}{All}{}
Copy
{MyWorkflowProfileName}{Actual}{2015M1}{All}{Empty String or Filter Expression}
Members

The Members method returns Dimension ID, Member information, such as ID, Name, and Description, and a few other properties for the chosen dimension and Member Filter. Parameters should include each value enclosed in braces.

Copy
{Account}{MyAccountDim}{A#Root.TreeDescendants}{Empty String or Filter Expression}
UserCubeSliceRights

The UserCubeSliceRights method lists each user’s Data Access settings on a given cube. Parameters should include each value enclosed in braces.

Copy
{AllUsers}{AllCubes}{Empty String or Filter Expression}
UserEntityRights

The UserEntityRights method returns the Cubes and Entities the user has access to according to the security settings under Entities. Parameters should include each value enclosed in braces.

Copy
{AllUsers}{AllCubes}{AllEntities}{Empty String or Filter Expression}
Users

The Users method returns all properties associated for the chosen User Name. Parameters should include each value enclosed in braces.

Copy
{UserName = 'Administrator'}
UserScenarioRights

The UserScenarioRights method returns all accessible Scenarios and many related Scenario properties for the chosen User Name filter and cube. Parameters should include each value enclosed in braces.

Copy
{AllUsers}{AllCubes}{Empty String or Filter Expression}
UserinGroups

The UserinGroups method returns a list of Users and selected User properties for the chosen User Group. Parameters should include each value enclosed in braces.

Copy
{GroupName = 'FinanceGroup'}{}
UserWorkflowProfileRights

The UserWorkflowProfileRights method lists the rights assigned to users for Workflow Profiles. Parameters should include each value enclosed in braces.

Copy
{User Name}{Workflow Cube Name}{Workflow Profile Type}{Filter}
Copy
{Administrator}{GolfStream}{AllProfiles}{}
Copy
{AllUsers}{AllProfiles}{AllProfiles}{Empty String or Filter Expression}
WorkflowandEntityStatus

The WorkflowandEntityStatus method returns properties for Workflow status, status code/description, last executed step, date/time information, completed steps, and data status for the chosen Workflow Unit, including both the Workflow Profile level and individual entity level.

Workflow Profile Description is a clear, human‑readable description of the Workflow Profile that better communicates its purpose and scope. Last Step User is the person who most recently completed a workflow step, and it provides visibility into who last acted on that workflow.

Parameters should include each value enclosed in braces.

Copy
{MyWorkflowProfileName}{Actual}{2015M1}{AllProfiles}{Descendants}{Empty String or Filter Expression}
WorkflowCalculationEntities

This lists the entities that display under Calculation Definitions for this Workflow Profile.

WorkflowConfirmationEntites

This lists the entities that display under Calculation Definitions with a Confirmed checkbox for this Workflow Profile.

WorkflowLockHistory

The WorkflowLockHistory method displays all Lock history details in a report for a given Workflow Profile with the ability to filter by Scenario, Time, Workflow Profile, Origin, Channel, Time, User, and Lock Status. Parameters should include each value enclosed in braces.

Copy
{MyWorkflowProfileName}{Actual}{2015M1}{AllProfiles}{Descendants}{Empty String or Filter Expression}

WorkflowProfileandDescendantEntities

The WorkflowProfileandDescendantEntities method creates a list of Entities and all descendants located under Entity Assignment for this Workflow Profile.

WorkflowProfileEntities

The WorkflowProfileEntities method creates a list of entities located under Entity Assignment for this Workflow Profile.

WorkflowProfileRelatives

The WorkflowProfileRelatives method lists related Workflow Profiles based on certain criteria. Parameters should include each value enclosed in braces.

Copy
{GolfStream}{Actual}{2011M1}{AllProfiles}{Descendants}{true}{}
Copy
{MyWorkflowProfileName}{Actual}{2015M1}{AllProfiles}{Descendants}{true}{Empty String or Filter Expression}
WorkflowProfiles

The WorkflowProfiles method lists the Workflow Profiles. Parameters should include each value enclosed in braces.

Copy
{AllProfiles}{Type = 'InputAdjChild'}.
WorkflowStatus

The WorkflowStatus method lists the status, lock status, and last step completed of a given Workflow Unit. Parameters should include each value enclosed in braces.

Copy
{Houston}{Actual}{2011M1}{AllProfiles}{Descendants}{}
Copy
{MyWorkflowProfileName}{Actual}{2015M1}{AllProfiles}{Descendants}{Empty String or Filter Expression}
WorkflowStatusTwelvePeriod

This returns status value and text summary for 12 months for a given Workflow Profile, scenario, and year. Parameters should include each value enclosed in braces.

Copy
{MyWorkflowProfileName}{Actual}{2011}{AllProfiles}{Descendants}{Empty String or Filter Expression}

SQL Command Type

A SQL query against either the application or framework database can be written as a data source. Reference substitution variables such as |WFProfile| from within the SQL statement.

Database Location

Select Application, Framework, or External data source.

  • Application: The current OneStream Application database where Stage and financial cube data reside.

  • Framework: The connected OneStream Framework database where security and log data reside.

  • External: Any other database outside of OneStream. If External is the chosen Database Location, select the External Database Connection name. This list is defined in the OneStream Server Configuration Utility.

SQL Query

The SQL statement ran for this data adapter.

Results Table Name

This specifies the name of the resulting table generated when the data adapter is run. Otherwise, it defaults to the name Table.

BI Blend Command Type

The purpose of the BI Blend adapter is to provide dashboard designers with a predefined interface to query BI Blend tables. The data sourced by the BI Blend adapter can be used to design standard OneStream dashboards.

The BI Blend Workflow process is designed to generate large external database tables formatted in a column store index optimized for analytic reporting. The overall number of records that may be generated by the BI Blend process may be too large for the dashboard components to process. Therefore, the designer should manage the returned dataset by defining an appropriate Where Clause to retrieve a slice of the BI Blend table that is suitable for the BI Blend adapter.

Results Table Name

Define a table name to store the content of the BI Blend adapter query.

Table Info

This defines the name of the BI Blend table name to be queried. This label supports the use of parameters and substitution variables. 

Group By

This defines the source database columns and their order, which are to be returned to the data adapter. These labels must match the names specified on the database. Any field to be pivoted must be in the Group By list.

Data Field Aggregation Types

The Data Field Aggregation Type is used to identify which database column should be used as the Measure field. The adapter can support multiple database columns as measures. Each defined measure can be defined to derive the results as a different Aggregation Types. Parameters and substitution variables are supported.

  • Sum

  • Min

  • Max

  • Avg

  • Count

The syntax required defines each Aggregation Type result as a unique key. AggregationType = [databaseColumnName, Type]

Example: AggType1 = [2018M1, Count], AggType2 = [2018M1, Sum]

Example: AggType1 = [|WFYear|M1, Count]

Where Clause

The is used to pre-filter the table. The BI Blend data adapter queries the source table and returns the results to the client for processing, such as for use in a Pivot Grid. The size of the query must be managed to ensure the overall performance of the dashboard report is optimized. The Where Clause uses standard SQL syntax to define the filters that are applied to the query.

Example: DatabaseColumn = ‘Text’

Example: DatabaseColumn Like ‘2019%’ - As all columns beginning with 2019

Example: DatabaseColumn1 = ‘CostCenter’ And DatabaseColumn2 = ‘Midwest’

Direct Load Reporting Data Adapter Method Types

Dashboard reporting against Direct Load Workflow activity is simplified with specialty data adapter methods.

  • Direct Load Info: Retrieves results from the StageDirectLoadInformation table.

    Example: {Workflow Profile Name}{Scenario Name}{Time Name}{Filter}

  • Stage Summary Target Data: Query designed to automatically determine the method used to manage Summary Target Data, as Row or Blob, and appropriately return the results.

    Example: {Workflow Profile Name}{Scenario Name}{Time Name}{Filter}